import 'dart:ui';

import 'package:flutter/material.dart';

class TextUtils {

}

/// text的样式
TextStyle textStyle({Color color = Colors.black, double fontSize = 18})
=> TextStyle(color: color,fontSize: fontSize,fontFamily:'Raleway' );

TextStyle textStyle16({Color color = Colors.black, double fontSize = 16})
=> TextStyle(color: color,fontSize: fontSize,fontFamily:'Raleway' );

TextStyle textStyle14({Color color = Colors.black, double fontSize = 14})
=> TextStyle(color: color,fontSize: fontSize,fontFamily:'Raleway' );

double screenSizeW(context) => MediaQuery.of(context).size.width;

double screenSizeH(context) => MediaQuery.of(context).size.height;